﻿using System.Windows;
using WPFDevelopers.Helpers;

namespace WPFDevelopers.Samples
{
    /// <summary>
    /// App.xaml 的交互逻辑
    /// </summary>
    public partial class App : Application
    {
        public static double Wdith
        {
            get { return SystemParameters.WorkArea.Width / 1.5; }
        }
        public static double Height
        {
            get { return SystemParameters.WorkArea.Height / 1.5; }
        }
        public static Window CurrentMainWindow
        {
            get { return Current.MainWindow; }
        }
        public static ThemeType Theme { get; set; }

    }
}
